package com.jic.veteran.mapper;

import com.jic.veteran.model.InvoiceDetail;
import com.jic.veteran.model.InvoiceInfo;
import com.jic.veteran.model.ProjectDonationDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InvoiceDetailMapper {
    int insert(@Param("item") InvoiceDetail invoiceDetail);
    List<InvoiceDetail> listHistory(@Param("openId") String openId);
    List<ProjectDonationDetail> unVoicelist(@Param("openId") String openId);
    InvoiceDetail getItem(@Param("orderId") String orderId);
}
